// Package model
// @Author zhongxc
// @Date 2024/5/13 15:30:00
// @Desc
package model

type User struct {
	UserId      int64  `db:"user_id"`
	Nickname    string `db:"nickname"`
	Username    string `db:"username"`
	Password    string `db:"password"`
	Salt        string `db:"salt"`
	Avatar      string `db:"avatar"`
	Email       string `db:"email"`
	Mobile      string `db:"mobile"`
	Remark      string `db:"remark"`
	Status      string `db:"status"`
	CreatedBy   string `db:"created_by"`
	CreatedTime string `db:"created_time"`
	UpdatedBy   string `db:"updated_by"`
	UpdatedTime string `db:"updated_time"`
	Deleted     string `db:"deleted"`
	DeleteTime  string `db:"delete_time"`
}

func (u *User) TableName() string {
	return "my_user"
}
